MATRIX EXIST

This command will return a one if the specified matrix exists otherwise zero will be returned.

  Syntax
Return Integer=MATRIX EXIST(Matrix Number)
  Parameters
Matrix Number
Integer
The matrix number

  Returns

This command will return a one if the specified matrix exists otherwise zero will be returned

  Description

The matrix number should be an integer value.

  Example Code
make matrix 1,1000,1000,25,25
position matrix 1,0,0,0
update matrix 1
print "exist:";matrix exist(1)
do
Loop
if matrix exist(1)=1 then delete matrix 1
end
  See also

MATRIX Commands Menu
Index